import request from '@/utils/request'

export function getControllerConfigPageList(params) {
  return request({
    url: '/controllerConfig/page',
    method: 'get',
    params
  })
}
// 查询所有
export function listController() {
  return request({
    url: '/controllerConfig/list',
    method: 'get'
  })
}

export function saveOrUpdate(data) {
  return request({
    url: '/controllerConfig/saveOrUpdate',
    method: 'post',
    data
  })
}

export function remove(id) {
  return request({
    url: '/controllerConfig/remove',
    method: 'get',
    params: { id }
  })
}

